//
//了解
#include <vector>
#include <string>
#include <queue>

using namespace std;

int divMod(char* ch,int num) {
    int s = 0;
    for (int i = 0;ch[i]!='\0';++i) {
        s = (s*10 + ch[i] - '0') %num;
    }
    return s;
}
